#include "configini.h"
QMap<QString, QString> ConfigIni:: inimap;

QString ConfigIni::getBbb() const
{
    return bbb;
}

void ConfigIni::setBbb(const QString &value)
{
    bbb = value;
}
ConfigIni::ConfigIni()
{

}

QString  ConfigIni::readKey(QString filename, QString section, QString key)
{
    QString value;
       QSettings settings(filename,QSettings::IniFormat);
    // QString value = settings.value(section+'/'+key);
     return value;


}

QString ConfigIni::getValue(QString key)
{
  //  qDebug () << "key = "<<inimap.value(key);
    return inimap.value(key);
}
QString ConfigIni::getappid()
{
    //qDebug () << ">>>>>>>>>>appid = "<<inimap.value("appid");
    return inimap.value("appid");
}
